<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./js/echarts.min.js"></script>
</head>

<body>
  <div style="width:600px;height:400px;border:1px solid #000;"></div>
</body>
<script>
  let myChart = echarts.init(document.querySelector("div"))
  let option = {
    series: [
      {
        type: "gauge",
        data: [
          {name:"张三",value:10}

        ]
      }
    ]
  }
  myChart.setOption(option)
</script>

</html>